<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  {% load i18n %}{% get_available_languages as LANGUAGES %}
  <title>{{ title }} - iVent</title>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" href="/media/css/style.css" />
  {% block add_js %}{% endblock %}
</head>
<body>
	<br>
	<div class="leftColumn">
		<div class="logo">iVent</div>
		<div class="menu">
            {% for item in menu %}
            {% if item.selected %}
				<div class="menuitem active">{{ item.label }}</div>
            {% else %}
			<div class="menuitem inactive" onclick="location.href='{{ item.url }}';">
				<a href="{{ item.url }}">{{ item.label }}</a>
            </div>
            {% endif %}
            {% endfor %}
		</div>
		<div class="langsel">
		<ul>
		{% for lang in LANGUAGES %}
			<li>
			<a href="/setlang/?language={{lang.0}}">{% blocktrans with lang.1 as lang_name %}{{ lang_name }}{% endblocktrans %}</a>
			</li>
		{% endfor %}
		</ul>
		</div>
	</div>
	<div class="content">
		<div class="title">{{ title }}</div>
		{% block main_content %}
			<h1>event management system</h1>
		{% endblock main_content %}
	</div>
</body>
</html>
